www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Users/Users_Help.asp

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>帮助</title>
<link href="style/nav.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--#include file="../Conn.asp" -->
<!--#include file="../Function/Function.asp" -->
<!--#include file="../function/Page.asp" -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
     <tr>
       <td width="100%" valign="top"><table width="690" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
           <td height="43" background="images/user_top.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr>
               <td width="6%">&nbsp;</td>
               <td width="94%">网站帮助</td>
             </tr>
           </table></td>
         </tr>
       </table><br />
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
         <tr>
           <td bgcolor="#f7f7f7"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="login">
             <tr>
               <td>
					<%Action=Trim(request("Action"))
					Select Case Action
					Case "Content"
					call Content()
					Case else
					call List()
					End Select
					sub List()%>
                    <table cellspacing="3" cellpadding="1" width="100%" border="0">
                   <tbody>
                     <tr align="middle">
                       <td height="25" align="center" bgcolor="#E3E3E3">帮助标题</td>
                       <td width="20%" align="center" bgcolor="#E3E3E3">发布日期</td>
                     </tr>
<%Dim int_RPP
	int_RPP=20 '设置每页显示数目  
	Set Rs = server.CreateObject(YWNT_TMS_RS)
		sql="Select ID,HelpHeading,HelpDate from YWNT_TMS_UsersHelp Order by ID desc"
		Rs.open sql,Conn,1,1
	if Rs.eof then
	   Response.Write"<TR><TD colspan=""3"" bgcolor=""#F7F7F7"" height=""40"">没有记录。</TD></TR>"
	else
		Rs.PageSize=int_RPP
		cPageNo=NoSqlHack(Request.QueryString("Page"))
		If cPageNo="" Then cPageNo = 1
		If not isnumeric(cPageNo) Then cPageNo = 1
		cPageNo = Clng(cPageNo)
		If cPageNo>Rs.PageCount Then cPageNo=Rs.PageCount 
		If cPageNo<=0 Then cPageNo=1
		Rs.AbsolutePage=cPageNo 
	for i=1 to int_RPP
	 if Rs.eof Then exit For%>
                     <tr>
                       <td height="25" bgcolor="#F7F7F7"><img src="images/help.gif" align="absbottom" /> <a href="Users_Help.asp?Action=Content&ID=<%=RS("ID")%>"><%=Rs("HelpHeading")%></a></td>
                       <td align="center" bgcolor="#F7F7F7"><%= Rs("HelpDate") %></td>
                     </tr>
                     <%Rs.MoveNext
	next 
	end if%>
                     <tr align="right">
                       <td height="40" colspan="4" bgcolor="#F7F7F7"><% response.Write fPageCount(Rs,cPageNo) %></td>
                     </tr>
                   </tbody>
                 </table>
<%RS.Close
Set RS = Nothing
end sub
sub Content()
Set Rs = server.CreateObject(YWNT_TMS_RS)
Sql = "Select HelpHeading,HelpContent,HelpDate from YWNT_TMS_UsersHelp where ID="&NoSqlHack(Request.QueryString("ID"))&" order by id desc"
Set Rs = Conn.Execute(Sql)
HelpHeading=Rs("HelpHeading")
HelpContent=Rs("HelpContent")
HelpDate=Rs("HelpDate")
Rs.close
Set RS = Nothing%>
<table cellspacing="3" cellpadding="1" width="100%" border="0">
                     <tbody>
                       <tr align="middle">
                         <td height="25" align="center" bgcolor="#E3E3E3"><%=HelpHeading%></td>
                       </tr>
                       <tr align="left">
                         <td height="300" valign="top" bgcolor="#F7F7F7" style="word-break:break-all;">&nbsp;&nbsp;&nbsp;&nbsp;<%=HelpContent%></td>
                       </tr>
                       <tr align="right">
                         <td height="25" bgcolor="#F7F7F7">日期:<%=HelpDate%></td>
                       </tr>
					    <tr align="center">
                         <td height="25" bgcolor="#F7F7F7"><a href="Users_Help.asp"><strong>返回</strong></a></td>
                       </tr>
                     </tbody>
                  </table>
<%end sub%>
                </td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
</table>
<%call connclose()%>
<br>
</body>
</html>